//
//  DetailViewController.h
//  网易公开课项目
//
//  Created by 林 艺 on 13-11-12.
//  Copyright (c) 2013年 Marklin. All rights reserved.
//

#import "BaseViewController.h"
#import "CourseModel.h"
#import "RelationCell.h"
#import "SynopsisCell.h"
#import "DetailBigCell.h"
#import "MiddleCell.h"


@interface DetailViewController : BaseViewController<UITableViewDataSource, UITableViewDelegate>
{
    NSString *_urlString;
    CourseModel *_model;
    NSMutableArray *_historyArray;
    NSMutableArray *_relationCourseArray;
    
    UIButton *_listButton;
    UIButton *_postButton;
    UILabel *_listLabel;
    UILabel *_postLabel;
    NSMutableArray *_translatedArray;
    NSMutableArray *_untranslatedArray;
    UIView *_lessionButtonView;
    CGFloat _lessionHeight;
    UIView *_cellView;
    
    UIView *_blackAlertView;
    UILabel *_bookmarkLabel;
    
    UIView *_synopsisView;
    UIView *_courseView;
    UIView *_relationView;
    
    NSInteger _currentIndex;
    CGSize _contentSize;
}

@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet UIImageView *woodBackground;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *activityView;
@property (nonatomic, copy)NSString *videoCode;

@property (weak, nonatomic) IBOutlet UIView *courseBottomBar;
- (IBAction)bookmarkClicked:(UIButton *)sender;
- (IBAction)shareClicked:(UIButton *)sender;
- (IBAction)downClicked:(UIButton *)sender;
- (IBAction)commentClicked:(UIButton *)sender;
@property (weak, nonatomic) IBOutlet UIButton *bookmarkButton;



@end
